<% title "Администратор - Edit page" %>

<div id="conteiner">
    <div id="left">
        <div id="leftCont">
					<% form_for :page, :url => admin_category_page_path(@category), :html=>{:method=>:put} do |f| -%>
						
						<label for="post_content">Содержимое странички <%= @category.title %></label><br/>
						<%= fckeditor_textarea :page, :content, :toolbarSet => 'Simple', :height=>"500px;" %><br/>
						
						<label>Добавить форму<br/>
						<%= f.select :form_type, Page::TYPES, {}, {:style=>"width:200px;"} %></label><br/>
						
						<%= f.submit "Обновить" %> | <%= link_to "назад", admin_categories_path %>
					<% end %>
        </div>
    </div>
</div>

<div id="right">
		<%= render :partial=>"includes/currency" %>
		
    <%= render :partial=>"includes/banners" %>
</div>
